package edu.dgut.bbssystem.common;

import java.io.Serializable;

public class ActionResult  implements Serializable {
    private int code;
    private Object data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public ActionResult(int code, Object data) {
        this.code = code;
        this.data = data;
    }

    public ActionResult() {
    }
}
